package com.bethinner.utils;

import java.util.List;

/**
 * Created by JL on 10/2/15.
 */
public interface DaoHelperInterface {
    public <T> void addData(T data);

    public <T> void updateData(T data);

    public void deleteData(Long id);

    public <T> T getDataById(Long id);

    public List getAllData();

    public boolean hasKey(Long id);

    public long getTotalCount();

    public void deleteAll();
}
